import React from 'react';
import { withRouter, NavLink } from 'react-router-dom';
import styles from './footer.module.css';

class Footer extends React.Component {
    state = {

    };

    render() {
        return (
            <div className={styles["foot-btn"]}>
                <ul>
                    <li><NavLink className={styles.home} to="/home" activeClassName="home--active" /></li>
                    <li><NavLink className={styles.write} to="/shopcar" activeClassName="write--active" /></li>
                    <li><NavLink className={styles.my} to="/user" activeClassName="my--active" /></li>
                </ul>
            </div>
        )
    }
}

export default withRouter(Footer)